#!/bin/sh
# - test

## The LTP testsuite contains a collection of tools for
## testing the Linux kernel and related features.

. $LKP_SRC/lib/env.sh
. $LKP_SRC/lib/upload.sh
. $LKP_SRC/lib/tests/ltp.sh
. $LKP_SRC/lib/reproduce-log.sh

cd $BENCHMARK_ROOT/ltp || die "no $BENCHMARK_ROOT/ltp"

export PATH=/lkp/benchmarks/ltp/bin:$PATH

workaround_env

test_setting
is_excluded $test
log_cmd export LTP_RUNTIME_MUL=2
log_cmd ./runltp -f $test $big_dev_opt $tmpdir_opt

cleanup_ltp

upload_files -t results $BENCHMARK_ROOT/ltp/results/* $BENCHMARK_ROOT/ltp/output
